{
	"$schema":"http://json-schema.org/draft-03/schema#",
	"id": "http://schemas.opengis.net/gsr/1.0/featureSet.json",

	"title":"feature collection",
	"type":["null","object"],
	
	"properties":{ 
		"displayFieldName":{
			"title":"field with name of the feature",
			"type":"string"},
		"objectIdFieldName":{
			"title":"field with id of the feature",
			"type":"string"},
		"fields":{
			"$ref":"http://schemas.opengis.net/gsr/1.0/fields.json"},
		"geometryType":{
			"title":"the type of the geometry",
 			"description":"applicable for layers only; known values include: GeometryPoint, GeometryMultipoint, GeometryPolyline, GeometryPolygon, GeometryEnvelope",
			"type":"string"},
		"spatialReference":{
			"description":"applicable for layers only",
			"$ref":"http://schemas.opengis.net/gsr/1.0/spatialreference.json"},
		"features":{
			"title":"list of features",
			"$ref":"http://schemas.opengis.net/gsr/1.0/features.json"}
	}
}
